package com.sxx.mall.product.feign;

import com.sxx.commons.dto.SkuHasStockDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;
import java.util.Map;

/**
 * @Auther: sunxx
 * @Date: 2024/7/29 - 07 - 29 - 15:23
 * @Description: com.sxx.mall.product.feign
 * @version: 1.0
 */
@FeignClient("mall-ware")
public interface WareFeignService {
    /**
     * 是否有库存
     */
    @RequestMapping("/ware/waresku/hasStock")
    public List<SkuHasStockDTO> skuHasStock(@RequestBody List<Long> skuIds);

}